freopen("$(file).in","r",stdin);
freopen("$(file).out","w",stdout);

|

fclose(stdin);
fclose(stdout);
